package com.gmt.config;

import com.gmt.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author John.zhang
 * @version Id: JavaConfig, v 1.0 2020/11/10 19:31 ZhiYong Exp $
 */
@Configuration
@Import({User.class})//容器注入
public class JavaConfig {


    /*@Bean
    public User user() {
        return new User();
    }*/

}
